/*

Copyright 2007 Renaun Erickson (http://renaun.com)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

@ignore
*/
package asfslib.api.familytree.v1
{


/**
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="user">
 *   &lt;complexContent>
 *     &lt;extension base="{http://api.familysearch.org/familytree/v1}contributor">
 *       &lt;sequence>
 *         &lt;element name="address" type="{http://api.familysearch.org/familytree/v1}postalAddress" minOccurs="0"/>
 *         &lt;element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="phone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
public class User extends Contributor
{

    //----------------------------------
    //  address
    //----------------------------------

    /**
     *  @private
     *  Storage for the address property.
     */
    private var _address:PostalAddress;

    /**
     *  The address property
     *
     *  @default ""
     */
    public function get address():PostalAddress
    {
        return _address;
    }

    /**
     *  @private
     */
    public function set address(value:PostalAddress):void
    {
        _address = value;
    }    
    
    //----------------------------------
    //  email
    //----------------------------------

    /**
     *  @private
     *  Storage for the email property.
     */
    private var _email:String = "";

    /**
     *  The email property
     *
     *  @default ""
     */
    public function get email():String
    {
        return _email;
    }

    /**
     *  @private
     */
    public function set email(value:String):void
    {
        _email = value;
    }


    //----------------------------------
    //  name
    //----------------------------------

    /**
     *  @private
     *  Storage for the name property.
     */
    private var _name:String = "";

    /**
     *  The name property
     *
     *  @default ""
     */
    public function get name():String
    {
        return _name;
    }

    /**
     *  @private
     */
    public function set name(value:String):void
    {
        _name = value;
    }


    //----------------------------------
    //  phone
    //----------------------------------

    /**
     *  @private
     *  Storage for the phone property.
     */
    private var _phone:String = "";

    /**
     *  The phone property
     *
     *  @default ""
     */
    public function get phone():String
    {
        return _phone;
    }

    /**
     *  @private
     */
    public function set phone(value:String):void
    {
        _phone = value;
    }
   

}
}
